//
//  WRYThemeItem.h
//  BaiSiBuJie
//
//  Created by wry on 16/5/3.
//  Copyright © 2016年 WRY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WRYHotCommentItem.h"

/**
 1为全部，10为图片，29为段子，31为音频，41为视频，默认为1
 */


typedef enum : NSUInteger {
    WRYThemeTypeAll=1,
    WRYThemeTypePicture=10,
    WRYThemeTypeText=29,
    WRYThemeTypeVoice=31,
    WRYThemeTypeVideo=41,
} WRYThemeType;


@interface WRYThemeItem : NSObject


/*------------------topView----------------------*/
@property(nonatomic,strong)NSString * create_time;//发帖时间
@property(nonatomic,strong)NSString * text;//内容
@property(nonatomic,strong)NSString * name;//发帖人的昵称
@property(nonatomic,strong)NSString * profile_image;//头像的图片url地址

/*------------------PictureView----------------------*/
@property(nonatomic,strong)NSString * image0;//图片地址
@property(nonatomic,strong)NSString * image1;//图片地址
@property(nonatomic,strong)NSString * image2;//图片地址

@property(nonatomic,assign)NSInteger height;//图片尺寸
@property(nonatomic,assign)NSInteger width;//图片尺寸
@property(nonatomic,assign)BOOL is_gif;//是不是GIF图
@property(nonatomic,assign)WRYThemeType type;//类型
@property(nonatomic,assign)BOOL isBigPicture;//是不是大图

/*------------------voiceView----------------------*/
@property(nonatomic,assign)NSInteger voicetime;//音频时长
@property(nonatomic,assign)NSInteger playcount;//播放次数

/*------------------videoView----------------------*/
@property(nonatomic,assign)NSInteger videotime;//视频时长



/*------------------hotCommentView----------------------*/
@property(nonatomic,strong)NSArray * top_cmt;//评论信息
@property(nonatomic,strong)WRYHotCommentItem * hotcommentItem;//评论模型



/*------------------bottomView----------------------*/
@property(nonatomic,assign)NSInteger repost;//分享,转发数
@property(nonatomic,assign)NSInteger cai;//踩数
@property(nonatomic,assign)NSInteger ding;//顶数
@property(nonatomic,assign)NSInteger comment;//评论数


@end
